/**
 * 
 */
package com.pmsco.pms.core.dao;

import java.util.List;

import com.pmsco.pms.core.domain.Medicine;

/**
 * @author Long Tran
 *
 */
public interface MedicineDao {
	public Medicine saveOrUpdateMedicine(Medicine medicine);
	public List<Medicine> listMedicine(Medicine searchTemplate);
	public Medicine loadMedicineById(Long id);
	public Medicine loadMedicine(Medicine searchTemplate);
	public List<Medicine> listMedicine(String searchField, String searchString, String searchOper, String sidx, String sord, Integer page, Integer rows);
	public Integer countListMedicine(String searchField, String searchString, String searchOper);
	public void deleteMedicine(Medicine medicine);
}
